
package nautilus.tank.model;

public class ActionOrder{
	public static final int LOW = 0;
	public static final int MEDIUM = 1;
	public static final int HIGH = 2;
	
	/** two bits 0 and 1 are use for moving action */
	public static final int MOVE_FORWARD = 0x0002;
	public static final int MOVE_BACKWARD = 0x0003;
	
	/** BIT 3th is use for FIRE action */
	public static final int FIRE = 0x0004;
	
	private int priority = ActionOrder.MEDIUM;
	private int kind;
	private float x, y, z;
	private boolean done = false;
	
	public float getX(){
		return x;
	}
	
	public void setX(float x){
		this.x = x;
	}
	
	public float getY(){
		return y;
	}
	
	public void setY(float y){
		this.y = y;
	}
	
	public float getZ(){
		return z;
	}
	
	public void setZ(float z){
		this.z = z;
	}
	
	public int getKind(){
		return kind;
	}
	
	public void setKind(int kind){
		this.kind = kind;
	}
	
	public int getPriority(){
		return priority;
	}
	
	public void setPriority(int prio){
		this.priority = prio;
	}
	
	public boolean isDone(){
		return done;
	}
	
	public void setDone(boolean done){
		this.done = done;
	}
}